New • Token‑based image API

Instant image conversion API for modern web performance

zapifyapi converts PNG & JPEG to WEBP (AVIF coming soon) with a single HTTP call. Use token packs or monthly plans that unlock premium APIs.

No credit card required to start • Free tier available
Try the request
# cURL
curl -X POST https://api.zapifyapi.com/v1/convert \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -F "file=@/path/to/photo.jpg" \
  -F "format=webp" \
  -o output.webp

# JavaScript (fetch)
const form = new FormData();
form.append('file', fileInput.files[0]);
form.append('format', 'webp');

const res = await fetch('https://api.zapifyapi.com/v1/convert', {
  method: 'POST',
  headers: { Authorization: `Bearer ${API_KEY}` },
  body: form,
});
const blob = await res.blob();

Optimized for CDNs • Built for CI pipelines • Works with S3/GCS • Free 500 conversions/month

Why zapifyapi?

Everything you need to ship faster images without juggling libraries or servers.

Dead‑simple API

Upload a file, pick a format. We return the converted asset with sane defaults and proper headers.

Fast & scalable

Auto‑scales under load with global edge caching. Built with performance in mind.

Quality controls

Tune quality, lossless mode, resize, strip metadata, background fill, and more via params.

Secure by default

Per‑key rate limits, signed URLs, and S3‑style keys so your pipelines stay safe.

Storage‑friendly

Direct ingest from S3/GCS/URL. Stream results back or push to your bucket.

Clear pricing

Token packs + plans. Pay only for successful conversions.

How it works

  1. 1

    Create an account

    Sign in and grab your API key from the dashboard.

  2. 2

    Buy tokens or a plan

    Use token packs for core conversions, or choose a monthly plan that unlocks premium APIs and includes monthly tokens.

  3. 3

    Send requests

    POST your image with format=webp. Token usage is shown live in your dashboard.

Pricing — Tokens & Plans

Choose token packs for pay‑as‑you‑go, or monthly plans that unlock premium APIs and include a token stipend.

Token Packs

Starter

1,000 tokens

$5

$0.005 / token

Buy

Standard

2,500 tokens

$11.5

$0.0046 / token

Buy

Growth

5,000 tokens

$21.5

$0.0043 / token

Buy

Power

7,000 tokens

$28.5

$0.00407 / token

Buy

Pro

10,000 tokens

$39

$0.0039 / token

Buy

Token packs enable core conversions. Premium APIs require an active monthly plan (tokens alone cannot access premium endpoints).

Monthly Plans (unlock premium APIs + monthly tokens)

Basic

Includes 2,000 tokens / mo

$9/mo

  • Core conversion, resize, quality, strip metadata
  • No batch/priority/advanced formats
  • Overage: $0.006/token
Choose Basic

Pro

Includes 5,500 tokens / mo

$19/mo

  • Everything in Basic
  • Batch conversions, priority queue
  • Extra formats (e.g., AVIF when available)
  • Overage: $0.005/token
Choose Pro

Enterprise

Includes 20,000 tokens / mo

$49/mo

  • Everything in Pro
  • Webhooks, watermark, SLA
  • Overage: $0.0045/token
Contact sales

Endpoint

POST /v1/convert

Form fields

  • file — binary image (png, jpg/jpeg)
  • formatwebp (more soon)
  • Optional: quality, width, height, fit, background, strip

Headers

  • Authorization: Bearer YOUR_API_KEY
  • X-Use-Tokens: auto (deducted per request)

Response

Binary body (image/webp) with headers:

HTTP/1.1 200 OK
Content-Type: image/webp
X-RateLimit-Limit: 50000
X-RateLimit-Remaining: 49921
X-Request-Id: req_abc123
X-Tokens-Spent: 2
X-Tokens-Remaining: 5498

On error returns JSON with error and message.